﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="Melee.WebUI.Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>大乱斗</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" type="image/ico" href="../images/favicon.ico" />
    <script type="text/javascript" src="js/lib/jquery.js"></script>
    <script type="text/javascript" src="js/lib/jquery.form.js"></script>
    <script type="text/javascript" src="js/lib/seajs/sea.js"></script>
    <script type="text/javascript" src="js/lib/wind.js"></script>
    <script type="text/javascript" src="js/lib/kinetic.js"></script>
    <script type="text/javascript">
        seajs.config({
            base: '/js/'
        });

        $(function () {
            var canvas = document.createElement('canvas');
            if (null == canvas.getContext) {
                $('#tip').show();
                return;
            }
            seajs.use('account', function (account) {
                account.login();
            });
        });
    </script>
</head>
<body style="margin: 0 auto; padding: 0;">
    <div id="container">
    </div>
    <div id="tip" style="display: none">
        您的浏览器不支持HTML5的Canvas,请采用以下浏览器： <a href="http://www.google.com/chrome">Chrome(推荐)</a>,
        <a href="http://www.opera.com/">Opera</a>, <a href="http://www.mozilla.com/firefox/">
            Firefox</a> or <a href="http://www.apple.com/safari/">Safari</a>.
    </div>
</body>
</html>
